package de.g18.scavengerhunt.types;

import com.google.android.maps.GeoPoint;

/**
 *  This class stores all values of a user
 */
public class User {

    private int      id              = 0;

    private String   deviceId        = null;

    private String   name            = null;

    private GeoPoint currentGeoPoint = null;

    public User(int id, String deviceId, String name) {
        this.id = id;
        this.deviceId = deviceId;
        this.name = name;
    }

    public User(int id, String deviceId, String name, GeoPoint geoPoint) {
        this(id, deviceId, name);
        this.currentGeoPoint = geoPoint;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public GeoPoint getCurrentGeoPoint() {
        return currentGeoPoint;
    }

    public void setCurrentGeoPoint(GeoPoint currentGeoPoint) {
        this.currentGeoPoint = currentGeoPoint;
    }
}
